package com.sunyard.utils.easyexcel;

import com.sunyard.utils.easyexcel.style.MyCellStyle;

import java.lang.annotation.*;

/**
 * @author ：kaik.lou
 * @date ： 2021/1/15 8:59
 * @description：自定义样式注解 <p> private final static String[] _formats = {
 * "General",
 * "0",
 * "0.00",
 * "#,##0",
 * "#,##0.00",
 * "\"$\"#,##0_);(\"$\"#,##0)",
 * "\"$\"#,##0_);[Red](\"$\"#,##0)",
 * "\"$\"#,##0.00_);(\"$\"#,##0.00)",
 * "\"$\"#,##0.00_);[Red](\"$\"#,##0.00)",
 * "0%",
 * "0.00%",
 * "0.00E+00",
 * "# ?/?",
 * "# ??/??",
 * "m/d/yy",
 * "d-mmm-yy",
 * "d-mmm",
 * "mmm-yy",
 * "h:mm AM/PM",
 * "h:mm:ss AM/PM",
 * "h:mm",
 * "h:mm:ss",
 * "m/d/yy h:mm",
 * <p>
 * // 0x17 - 0x24 reserved for international and undocumented
 * // TODO - one junit relies on these values which seems incorrect
 * "reserved-0x17",
 * "reserved-0x18",
 * "reserved-0x19",
 * "reserved-0x1A",
 * "reserved-0x1B",
 * "reserved-0x1C",
 * "reserved-0x1D",
 * "reserved-0x1E",
 * "reserved-0x1F",
 * "reserved-0x20",
 * "reserved-0x21",
 * "reserved-0x22",
 * "reserved-0x23",
 * "reserved-0x24",
 * <p>
 * "#,##0_);(#,##0)",
 * "#,##0_);[Red](#,##0)",
 * "#,##0.00_);(#,##0.00)",
 * "#,##0.00_);[Red](#,##0.00)",
 * "_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)",
 * "_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)",
 * "_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)",
 * "_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)",
 * "mm:ss",
 * "[h]:mm:ss",
 * "mm:ss.0",
 * "##0.0E+0",
 * "@"
 * };</p>
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ExcelStyle {
    MyCellStyle cellType() default MyCellStyle.INTEGERTYPE_;

//    String fontName() default "宋体";
//    short fontHeightInPoints() default 12;
//    HorizontalAlignment horizontalAlignment() default HorizontalAlignment.LEFT;
//    VerticalAlignment verticalAlignment() default VerticalAlignment.CENTER;

}
